﻿using System;

namespace enyo
{
    public class Carousel : CarouselInternal
    {
        /// <summary>
        /// Gets the left view and also indicates if it is fired after a left transition.
        /// </summary>
        public EnyoEvent<Control, bool> onGetLeft;

        /// <summary>
        /// Gets the right view and also indicates if it is fired after a right transition.
        /// </summary>
        public EnyoEvent<Control, bool> onGetRight;


        /// <summary>
        /// Sets the view to be used as the center view. 
        /// This function will create the center view and fires events onGetLeft and onGetRight to get the view infos for creating left and right views.
        /// </summary>
        /// <param name="info">A config block describing the view control.</param>
        public void SetCenterView(object info)
        {
        }
    }
}
